<%@ page language="java" contentType="text/html; charset=BIG5"
    pageEncoding="UTF-8"%>
<%@page import="Inventory.InventoryRec"%> 
<jsp:useBean id="b" scope="request" type="java.util.List"></jsp:useBean>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=BIG5">
<title>列出倉存數量</title>
</head>
<body>
各種貨物的各種批次資料<br>
------------------------------------<br>
<%
if(b.size()!=0){
for (int i = 0; i < b.size(); i++) {
 InventoryRec rec = (InventoryRec) b.get(i);
%>
<table>
<tr>
<td>貨物編號: <%=rec.getPid() %></td>
<td>數量: <%=rec.getPquan() %></td>
<td>入貨日期時間: <%=rec.getEntrydate() %></td>
</tr>
</table>	 			
<% } }%>
<br>
<br>
<br>
<a href="/RetailSystem/Inventory/InventoryMain.jsp">回到倉存管理主頁</a><br>
</body>
</html>